package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import org.example.casemodule.enums.CertificateAuditStatus;

import java.lang.Long;
import java.util.Date;
import java.lang.Object;
import java.lang.String;

/**
 * 律师资质证书表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Data
@Table(value = "lawyer_certificate",dataSource = "caseDS")
public class LawyerCertificateEntity {

    /**
     * 证书ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联律师ID
     */
    @Column(value = "lawyer_id")
    private Long lawyerId;

    /**
     * 证书名称
     */
    @Column(value = "cert_name")
    private String certName;

    /**
     * 颁发机构
     */
    @Column(value = "issuer")
    private String issuer;

    /**
     * 颁发日期
     */
    @Column(value = "issue_date")
    private Date issueDate;

    /**
     * 过期日期
     */
    @Column(value = "expire_date")
    private Date expireDate;

    /**
     * 文件存储路径
     */
    @Column(value = "file_url")
    private String fileUrl;

    /**
     * 审核状态
     */
    @Column(value = "audit_status")
    private CertificateAuditStatus auditStatus;

    @Column(value = "create_time")
    private Date createTime;


}
